/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package elaborate.h2x.parser;

/**
 * the factory class for TransformingModelParserBuilder instances
 * @author lendle
 */
public abstract class TransformingModelParserBuilderFactory {
    public abstract TransformingModelParserBuilder newTransformingModelParserBuilder();
    public static TransformingModelParserBuilderFactory newInstance(){
        return new DefaultTransformingModelParserBuilderFactoryImpl();
    }

    static class DefaultTransformingModelParserBuilderFactoryImpl extends TransformingModelParserBuilderFactory{

        @Override
        public TransformingModelParserBuilder newTransformingModelParserBuilder() {
            return new DefaultTransformingModelParserBuilderImpl();
        }

    }
}
